<div class="form_bound" style="margin:10px auto;width:1000px" align="left">
    <table cellpadding="0" width="1000">
    	<tr>
        	<td  class="form_title"><b><a href="module.html">DANH SÁCH MODULES</a></b></td>
            <td class="form_title_button"><a href="module.html?cmd=scan">Auto Scan Modules</a></td>
	        <td class="form_title_button"><a href="module.html?cmd=delete_cache">Xoá cache Modules</a></td>
		</tr>
	</table>
                        
    <table cellspacing="0" width="1000">
        <tr bgcolor="#EFEFEF" valign="top">
            <td>
                <table width="100%">
                    <tr>
                        <td>
                        	 <table bgcolor="#EFEFEF" cellspacing="0" width="100%">
                                <tr>
                                    <td width="100%" bgcolor="#FFFFFF" align="left" style="padding:6px;">

                                     Tìm Modules: 
                                        <input name="name" type="text" id="name" style="width:120" value="{$name}">
                                        <input type="submit" value="Tìm kiếm">
                                         {if $paging}
                                          <div class="product-list-paging">{$paging}</div>
                                         {/if}
                                            <table width="99%" cellpadding="2" cellspacing="0" border="1" style="border-collapse:collapse" bordercolor="#CCCCCC">
                                              <tr valign="middle" bgcolor="#EFEFEF" style="line-height:20px">
                                                                <td width="10%" align="right"> <a href="{$href_id}" title="sort">
                                                                    <strong>ID</strong> {$img_id}
                                                </a></td>
                                                                <td width="3%" align="left" nowrap >&nbsp;</td>
                                                                <td width="28%" align="left" nowrap >
                                                                    <a href="{$href_name}" title="sort">
                                                                    <strong>Modules</strong> {$img_name}                                                                  </a>                                                                </td>
                                                                <td width="59%">
                                                                    Pages</td>
                                              </tr>
                                                    {foreach from=$items item=items}
                                                    <tr align="right" valign="middle" bgcolor="white" {$hover}>
                                                        <td align="right" valign="top">
                                                            {$items.id}                                                </td>
                                                      <td align="left" valign="top">&nbsp;</td>
                                                      <td align="left" valign="top" {$items.onclick}>
                                                            {$items.name}                                                </td>
                                                        <td align="left" valign="top" style="padding:5px;">
                                                             {foreach from=$items.pages item=page}
                                                            	<strong>[<a href="{$page.name}.html">{$page.name}</a>]&nbsp;&nbsp;&nbsp;</strong>  
                                                            {/foreach}                                                </td>
                                              </tr>
                                                     {/foreach}
                                              </table>
                                         {if $paging}
                                            <div class="product-list-paging">{$paging}</div>
                                        {/if}
                                  </td>
                               </tr>
                            </table>
                        </td>
                    </tr>
               </table>
            </td>
        </tr>
    </table>
</div>
